package com.liushao.mapper;

import com.liushao.entity.BorrowInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2025-01-03
 */
public interface BorrowInfoMapper extends BaseMapper<BorrowInfo> {

    /*
      <select id="selectBorrowerInfoList" resultType="com.liushao.entity.BorrowInfo">
        SELECT
            bi.*,
            b.name,
            b.mobile
        FROM borrow_info AS bi
                 LEFT JOIN borrower AS b
                           ON
                               bi.user_id=b.user_id
        WHERE bi.is_deleted=0

    </select>
     */

    public List<BorrowInfo> selectBorrowerInfoList();



}
